//
//  KZBaseViewControllerWithBack.swift
//  Fanrengame
//
//  Created by 朱凯 on 2018/4/18.
//  Copyright © 2018年 JooKey. All rights reserved.
//

import UIKit

class KZBaseViewControllerWithBack: KZBaseViewController {
    
    convenience init() {
        self.init(nibName: nil, bundle: nil)
        self.hidesBottomBarWhenPushed = true
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.addBackItem()
    }
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
    }

    @objc func back() {
        self.navigationController?.popViewController(animated: true)
    }

}
